/**
 * This JavaScript Library use to load JSON data offline mode. This library will works as
 * web database. To reduce simultaneous server request, optimized and maximized peformance
 * of an application.
 *
 * @static
 * @class       db
 * @package     Fsl.db
 * @access      public
 * @version     1.0.0
 * @since       May 25, 2013
 *
 **/
;Fsl.db||(function($) {
	var db = {
		$class      : 'db',
		$package    : 'Fsl.db',
	<?php foreach($offlinedb as $table => $records): ?>
	<?php echo strtoupper($table); ?>  : <?php echo json_encode($records), ",\n"; ?>
	<?php endforeach;?>
	getInfo     : function(){
			return {$class: db.$class, $package: db.$package};
		}
	};
	$.db = db;
}(Fsl));